﻿package mortal.game.view.yyZiZuan
{
    import mortal.game.mvc.*;
    import mortal.game.resource.*;
    import mortal.game.view.common.*;

    public class YYZiZuanIcon extends ActionBaseIcon
    {
        private static var _instance:YYZiZuanIcon;

        public function YYZiZuanIcon(param1:String)
        {
            super(param1);
            return;
        }// end function

        override protected function createDisposedChildrenImpl() : void
        {
            super.createDisposedChildrenImpl();
            disEventName = EventName.YYZiZuanShow;
            this.name = "YYZiZuanIcon";
            return;
        }// end function

        override public function playEffect(param1:String = "ActionIconEffect.swf") : void
        {
            super.playEffect(param1);
            return;
        }// end function

        override public function get width() : Number
        {
            return 56;
        }// end function

        override public function get height() : Number
        {
            return 54;
        }// end function

        public static function get instance() : YYZiZuanIcon
        {
            if (!_instance)
            {
                _instance = new YYZiZuanIcon(ResFileConst.YYZiZuanIcon);
            }
            return _instance;
        }// end function

        public static function hasInstance() : Boolean
        {
            return _instance != null;
        }// end function

    }
}
